Ext.define("App.view.home.Toolbar", {
    extend: "Ext.Toolbar",
    requires: 'Ext.SegmentedButton',
    id: "homeToolbar",
    xtype: "homeToolbar",
    config: {
    
		docked: 'top',
		ui: 'gray',
        items: [{
            width: '100%',
            padding: '0 5',
            defaults: {
                flex: 1
            },
            xtype: 'segmentedbutton',
            allowDepress: false,
            items: [{
                text: '今日头条',
                pressed: true
            }, {
                text: '中国之队'
            }, {
                text: '微博精选'
            }]
        }],
    }
});
